package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class Comment implements Serializable {
    private Integer commentId;

    private Integer commentType;

    private Integer dynamicId;

    private Integer rootId;

    private Integer type;

    private Integer userId;

    private Integer cardId;

    private Integer parentId;

    private Integer coverUserId;

    private String text;

    private Integer thumbsNum;

    private Date createTime;

    private Integer isDel;

    private static final long serialVersionUID = 1L;

    public Comment(Integer commentId, Integer commentType, Integer dynamicId, Integer rootId, Integer type, Integer userId, Integer cardId, Integer parentId, Integer coverUserId, String text, Integer thumbsNum, Date createTime, Integer isDel) {
        this.commentId = commentId;
        this.commentType = commentType;
        this.dynamicId = dynamicId;
        this.rootId = rootId;
        this.type = type;
        this.userId = userId;
        this.cardId = cardId;
        this.parentId = parentId;
        this.coverUserId = coverUserId;
        this.text = text;
        this.thumbsNum = thumbsNum;
        this.createTime = createTime;
        this.isDel = isDel;
    }

    public Comment() {
        super();
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getCommentType() {
        return commentType;
    }

    public void setCommentType(Integer commentType) {
        this.commentType = commentType;
    }

    public Integer getDynamicId() {
        return dynamicId;
    }

    public void setDynamicId(Integer dynamicId) {
        this.dynamicId = dynamicId;
    }

    public Integer getRootId() {
        return rootId;
    }

    public void setRootId(Integer rootId) {
        this.rootId = rootId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCardId() {
        return cardId;
    }

    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getCoverUserId() {
        return coverUserId;
    }

    public void setCoverUserId(Integer coverUserId) {
        this.coverUserId = coverUserId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public Integer getThumbsNum() {
        return thumbsNum;
    }

    public void setThumbsNum(Integer thumbsNum) {
        this.thumbsNum = thumbsNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
}